package com.fast.common.feign.client.admin;


import com.fast.common.constant.ServiceNameConstant;
import com.fast.common.pojo.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(ServiceNameConstant.ADMIN)
public interface AuthFeignClient {

    @GetMapping("/{idd}/code")
    Result<String> code(@PathVariable("idd") String idd);

}
